
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGFieldContainerPtr.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================

namespace
{

OSG::Int32 ptrGetRefCount(OSG::FieldContainerPtr ptr)
{ return ptr.getRefCount(); }

OSG::UInt32 ptrGetFieldContainerId(OSG::FieldContainerPtr ptr)
{ return ptr.getFieldContainerId(); }

bool isNullFC(OSG::FieldContainerPtr ptr)
{ return OSG::NullFC == ptr; }


}


namespace  {

BOOST_PYTHON_FUNCTION_OVERLOADS(beginEditCP_overloads_1_3, osg::beginEditCP, 1, 3)
BOOST_PYTHON_FUNCTION_OVERLOADS(endEditCP_overloads_1_3, osg::endEditCP, 1, 3)

}// namespace 


// Module ======================================================================
void Export_src_pyste_PtrFunctions()
{
    def("beginEditCP", &osg::beginEditCP, beginEditCP_overloads_1_3());
    def("endEditCP", &osg::endEditCP, endEditCP_overloads_1_3());


def("ptrGetRefCount", &ptrGetRefCount);
def("ptrGetFieldContainerId", &ptrGetFieldContainerId);
def("isNullFC", &isNullFC);
}

